package com.springcloud.eshop.aggrdata.rabbitmq.strategy;

import com.springcloud.eshop.message.AggrDataChangeMessage;
import org.springframework.stereotype.Service;

/**
 * @Desc:
 * @Date: 2020-07-02
 * @Version:v1.0
 */
@Service
public abstract class BaseAggrDataChangeHandler {

    public abstract boolean handler(AggrDataChangeMessage aggrDataChangeMessage);

    public abstract String getRedisKey(long id);
}
